package com.iims.market.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;

/**
 * 合同统计数据
 * 合同总金额、开票总金额、未开票剩余 | 收款总金额、未收款剩余、总收入确认
 *
 * @author fanpei
 * @date 2021/7/13 11:21
 */
@ApiModel("合同统计信息")
@Data
public class ContractStats {

    @ApiModelProperty("合同总金额")
    private BigDecimal totalMoneyHT;

    @ApiModelProperty("开票总金额")
    private BigDecimal totalMoneyKP;

    @ApiModelProperty("收款总金额")
    private BigDecimal totalMoneySC;

    @ApiModelProperty("总收入确认")
    private BigDecimal totalMoneySRQR;

    @ApiModelProperty("未开票剩余")
    private BigDecimal totalMoneyWKP;

    @ApiModelProperty("未收款剩余")
    private BigDecimal totalMoneyWSC;

    /*private void setTotalMoneyKP(BigDecimal totalMoneyKP) {
        this.totalMoneyKP = totalMoneyKP;
        this.totalMoneyWKP = totalMoneyHT.subtract(totalMoneyKP);
    }

    private void setTotalMoneySC(BigDecimal totalMoneySC) {
        this.totalMoneySC = totalMoneySC;
        this.totalMoneyWSC = totalMoneyHT.subtract(totalMoneySC);
    }*/

}

